class PSSubtitulosGFX extends GFxMoviePlayer;

var GFxObject mc;
var GFxObject txtDidrik;
var GFxObject txtAnders;
var GFxObject txtTop;

function bool Start(optional bool StartPaused = false)
{
    super.Start();
    Advance(0);

	mc = GetVariableObject("_root");

	txtDidrik = GetVariableObject("_root.txtSubtitulo");
	txtAnders = GetVariableObject("_root.txtSubtituloAnders");
	txtTop =    GetVariableObject("_root.txtSubtituloTop");

	txtDidrik.SetText("");
	txtAnders.SetText("");
	txtTop.SetText("");

	return true;
}

exec function SetText(string text, bool isDidirk)
{	
	txtDidrik.SetText("");
	txtAnders.SetText("");

	if(isDidirk)    txtDidrik.SetText(text);
	else            txtAnders.SetText(text);
}

exec function SetTextTop(string text)
{	
	txtTop.SetText(text);
}

DefaultProperties
{
	bEnableGammaCorrection=FALSE
	bPauseGameWhileActive=false
	bCaptureInput=false
	MovieInfo = SwfMovie'PS_flash_subtitulos.subtitulos'
	//SwfMovie'PS_flash_tutorial.PS_tutorial'
}
